var Class = {
    create: function () {
        return function () {
            this.initialize.apply(this, arguments);
        }
    }
};
Object.extend = function (destination, source) {
    for (var property in source) {
        destination[property] = source[property];
    }
    return destination;
};

var AppLoadData = Class.create();
AppLoadData.prototype = {
    initialize: function (options) {
        this.SetOptions(options);
        this.CallBack = this.options.CallBack;

    },
    //设置默认属性
    SetOptions: function (options) {
        this.options = { //默认值
            CallBack: function (type) {
            }, //已签到
        };
        Object.extend(this.options, options || {});
    },

    CallBack:function (type) {

    }

};
var appload=null;

function appLoad(type) {
    if(appload){
        appload.CallBack(type);
    }
}

